package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ScenicSpotOrders;

/**
 * 景区订单模块Mapper接口
 * 
 * @author lsj
 * @date 2024-12-21
 */
public interface ScenicSpotOrdersMapper 
{
    /**
     * 查询景区订单模块
     * 
     * @param scenicSpotOrderid 景区订单模块主键
     * @return 景区订单模块
     */
    public ScenicSpotOrders selectScenicSpotOrdersByScenicSpotOrderid(Long scenicSpotOrderid);

    /**
     * 查询景区订单模块列表
     * 
     * @param scenicSpotOrders 景区订单模块
     * @return 景区订单模块集合
     */
    public List<ScenicSpotOrders> selectScenicSpotOrdersList(ScenicSpotOrders scenicSpotOrders);

    /**
     * 新增景区订单模块
     * 
     * @param scenicSpotOrders 景区订单模块
     * @return 结果
     */
    public int insertScenicSpotOrders(ScenicSpotOrders scenicSpotOrders);

    /**
     * 修改景区订单模块
     * 
     * @param scenicSpotOrders 景区订单模块
     * @return 结果
     */
    public int updateScenicSpotOrders(ScenicSpotOrders scenicSpotOrders);

    /**
     * 删除景区订单模块
     * 
     * @param scenicSpotOrderid 景区订单模块主键
     * @return 结果
     */
    public int deleteScenicSpotOrdersByScenicSpotOrderid(Long scenicSpotOrderid);

    /**
     * 批量删除景区订单模块
     * 
     * @param scenicSpotOrderids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScenicSpotOrdersByScenicSpotOrderids(Long[] scenicSpotOrderids);
    public int addScenicSpotOrders(ScenicSpotOrders scenicSpotOrders);
}
